<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class main_model extends CI_Model {

    public function get_blog_data() {

        return($this->db->query("select * from blogs")->result());
    }

}
